export default {
    env: process.env.NODE_ENV,
    baseApi: '/api/v1',
    port: process.env.NODE_ENV === 'production' ? '3000' : '3001',
    auth: {
      admin_secret: 'admin-token',
      ymz_secret: 'ymz-token',
      tokenKey: 'ymz-token-auth',
      whiteList: [/\/register/, /\/login/, /\/article/, /\/tag/, /\/sort/, /\/comment/, /\/about/],
      blackList: ['admin_api']
    },
    mongodb: {
        user: 'ymz_blog_runner',
        pwd: 'ts2008880618',
        host: '127.0.0.1',
        port:'27017',
        pport:'19999',
        db: 'vn'
    },
    encrypt: {
      salt: 'elapse-server2018',
    },
    qiniu: {
      accessKey: 'OImNp0POejlrc1xZTAI0xe-3DqpjOIpraAoHGw0m',
      secretKey: '2ZuTQ5xoCgAmzCB57X9NmqAEAztJ49mUx76a0xSQ',
      scope: 'xydashi',
      expires: 7200
    }
}
